package com.atguigu.dao;

import com.atguigu.entity.Payment;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @author: mr.zhang
 * @description:
 * @create: 2021-06-21 16:30
 */
@Component
@MapperScan("com.atguigu.dao")
public interface PaymentDao {
    public int create(Payment payment);
    public Payment getPaymentById(@Param("id") Long id);
}
